package com.roc.steelend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.roc.steelend.pojo.CompanyMoney;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Repository
public interface CompanyMoneyMapper extends BaseMapper<CompanyMoney> {

    List<HashMap<String,Object>> findAllCompanyMoneyDetail();

    List<HashMap<String, Object>> findCompanymoneyDetail(@Param("allCompanyMoneyId") Integer allCompanyMoneyId,@Param("currentPage") Integer currentPage,@Param("pageSize") Integer pageSize);

    Integer   findCompanymoneyDetailCount(@Param("allCompanyMoneyId") Integer allCompanyMoneyId);
}
